package cn.ycbjie.ycaudioplayer.mybean;

import java.util.List;

/**
 * Created by yuyu on 2018-11-30.
 */

public class mycontent {

    /**
     * code : 200
     * data : {"id":"jner8wrj79ob","title":"人的脑洞略大于整个宇宙","subtitle":null,"authors":["[美]丹·刘易斯"],"publishers":["湖南文艺出版社"],"publication_date":"2018-05-10","summary":null,"type":4,"cover":"https://ebook.qikan.com/bookpicture/ds056141.jpg","content":"<p><span style=\"color: rgb(101, 101, 101);\">《人的脑洞略大于整个宇宙》是一本通俗科普读物。<\/span><\/p><p><span style=\"color: rgb(101, 101, 101);\">这本书来源于生活中的平常小细节，比如英文字母里其实还有\u201c&amp;\u201d等。作者将它们汇集在一本书里，对资料进行探究和分析，并附上延伸阅读板块，让读者从中获得新知。大量冷知识呈现，主要是人文历史，也有很多名人掌故，西文语境，看点十足。作者有网站匹配，还从读者群中搜集大量信息，扩充内容。本书得到维基百科创始人之一吉米·威尔士、《国家地理旅行者》首席研究员玛丽莲·特勒尔等人推荐。&nbsp;&nbsp;<\/span><\/p>","price":1799,"is_free":false,"sub_num":0,"trial_sub_num":0,"state":2,"provider":{"id":"jner6swhi09r","name":"龙源"},"_created_at":"2018-10-18T15:43:23.355Z","_updated_at":"2018-11-08T06:47:50.706Z","hasPurchased":false}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : jner8wrj79ob
         * title : 人的脑洞略大于整个宇宙
         * subtitle : null
         * authors : ["[美]丹·刘易斯"]
         * publishers : ["湖南文艺出版社"]
         * publication_date : 2018-05-10
         * summary : null
         * type : 4
         * cover : https://ebook.qikan.com/bookpicture/ds056141.jpg
         * content : <p><span style="color: rgb(101, 101, 101);">《人的脑洞略大于整个宇宙》是一本通俗科普读物。</span></p><p><span style="color: rgb(101, 101, 101);">这本书来源于生活中的平常小细节，比如英文字母里其实还有“&amp;”等。作者将它们汇集在一本书里，对资料进行探究和分析，并附上延伸阅读板块，让读者从中获得新知。大量冷知识呈现，主要是人文历史，也有很多名人掌故，西文语境，看点十足。作者有网站匹配，还从读者群中搜集大量信息，扩充内容。本书得到维基百科创始人之一吉米·威尔士、《国家地理旅行者》首席研究员玛丽莲·特勒尔等人推荐。&nbsp;&nbsp;</span></p>
         * price : 1799
         * is_free : false
         * sub_num : 0
         * trial_sub_num : 0
         * state : 2
         * provider : {"id":"jner6swhi09r","name":"龙源"}
         * _created_at : 2018-10-18T15:43:23.355Z
         * _updated_at : 2018-11-08T06:47:50.706Z
         * hasPurchased : false
         */

        private String id;
        private String title;
        private Object subtitle;
        private String publication_date;
        private Object summary;
        private int type;
        private String cover;
        private String content;
        private int price;
        private boolean is_free;
        private int sub_num;
        private int trial_sub_num;
        private int state;
        private ProviderBean provider;
        private String _created_at;
        private String _updated_at;
        private boolean hasPurchased;
        private List<String> authors;
        private List<String> publishers;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public Object getSubtitle() {
            return subtitle;
        }

        public void setSubtitle(Object subtitle) {
            this.subtitle = subtitle;
        }

        public String getPublication_date() {
            return publication_date;
        }

        public void setPublication_date(String publication_date) {
            this.publication_date = publication_date;
        }

        public Object getSummary() {
            return summary;
        }

        public void setSummary(Object summary) {
            this.summary = summary;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public boolean isIs_free() {
            return is_free;
        }

        public void setIs_free(boolean is_free) {
            this.is_free = is_free;
        }

        public int getSub_num() {
            return sub_num;
        }

        public void setSub_num(int sub_num) {
            this.sub_num = sub_num;
        }

        public int getTrial_sub_num() {
            return trial_sub_num;
        }

        public void setTrial_sub_num(int trial_sub_num) {
            this.trial_sub_num = trial_sub_num;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public ProviderBean getProvider() {
            return provider;
        }

        public void setProvider(ProviderBean provider) {
            this.provider = provider;
        }

        public String get_created_at() {
            return _created_at;
        }

        public void set_created_at(String _created_at) {
            this._created_at = _created_at;
        }

        public String get_updated_at() {
            return _updated_at;
        }

        public void set_updated_at(String _updated_at) {
            this._updated_at = _updated_at;
        }

        public boolean isHasPurchased() {
            return hasPurchased;
        }

        public void setHasPurchased(boolean hasPurchased) {
            this.hasPurchased = hasPurchased;
        }

        public List<String> getAuthors() {
            return authors;
        }

        public void setAuthors(List<String> authors) {
            this.authors = authors;
        }

        public List<String> getPublishers() {
            return publishers;
        }

        public void setPublishers(List<String> publishers) {
            this.publishers = publishers;
        }

        public static class ProviderBean {
            /**
             * id : jner6swhi09r
             * name : 龙源
             */

            private String id;
            private String name;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
